package com.hll.demo.mapper;

import com.hll.demo.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author: Mr.Hu
 * @create: 2021-03-14 08:39
 */

/*这个注解很重要，要不然自动装配不了，后台会生成其动态代理类*/
@Repository
public interface UserMapper {
  User getUserInfo(@Param("name") String name, @Param("password") String password);
}
